package com.yaolong.api.modules.opms.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.yaolong.commons.base2.BaseDomain;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 常住家庭信息表
 * </p>
 *
 * @author yaolonga
 * @since 2023-02-19
 * @version v1.0.0
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("opms_fix_family_info")
@ApiModel(value="OpmsFixFamilyInfo对象", description="常住家庭信息表")
public class OpmsFixFamilyInfo extends BaseDomain {

    private static final long serialVersionUID = 1L;



    @ApiModelProperty(value = "家庭id")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "户口类型")
    @TableField("hk_type")
    private String hkType;

    @ApiModelProperty(value = "组号")
    @TableField("group_number")
    private String groupNumber;

    @ApiModelProperty(value = "户口本号")
    @TableField("hkb_number")
    private String hkbNumber;

    @ApiModelProperty(value = "户主")
    @TableField("householder")
    private String householder;

    @ApiModelProperty(value = "联系电话")
    @TableField("contact_number")
    private String contactNumber;

    @ApiModelProperty(value = "家庭地址")
    @TableField("address")
    private String address;

    @ApiModelProperty(value = "月收入（元）")
    @TableField("month_income")
    private String monthIncome;

    @ApiModelProperty(value = "经济状况")
    @TableField("economy_status")
    private String economyStatus;

    @ApiModelProperty(value = "住所类型（楼房，矮房，别墅，危房，暂无）")
    @TableField("abode_type")
    private String abodeType;

    @ApiModelProperty(value = "用户id（每个家庭只有一个账号）")
    @TableField("user_id")
    private Long userId;

    @ApiModelProperty(value = "户主id（居民）")
    @TableField("householder_id")
    private Long householderId;


}
